package com.aipp.mall.h5.domain.form;

import com.aipp.mall.common.anno.Note;
import com.aipp.mall.h5.domain.dto.OrderProductListDTO;
import lombok.Data;

import java.util.List;


/**
 * 创建订单请求VO
 *
 * @author Jinxin
 */
@Data
public class OrderCreateForm {
    @Note(value = "商品购买明细")
    private List<OrderProductListDTO> skuList;

    @Note(value = "收货地址id")
    private Long receiveAddressId;

    @Note(value = "收货方式 1：快递 2:自提 代理商只有1")
    private Integer deliveryType = 1;

    @Note(value = "支付方式：1-支付宝，2-微信（默认）")
//     @NotNull(message = "支付方式不能为空")
    private Integer payType;

    @Note(value = "订单备注")
    private String note;

    @Note(value = "订单来源 购物车是 cart")
    private String from;
}